package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.QuestionCollection;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface QuestionCollectionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(QuestionCollection record);

    QuestionCollection selectByPrimaryKey(Long id);

    List<QuestionCollection> selectAll();

    int updateByPrimaryKey(QuestionCollection record);

    QuestionCollection selectById(@Param("questionId") Long questionId, @Param("userId") Long userId);

    void deleteQuestionCollectionById(@Param("questionId") Long questionId, @Param("userId") Long userId);
}